package org.tgcloud.group.web.controller.dto.file;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.tgcloud.group.core.ExportUtils.ExcelImport;


import java.math.BigDecimal;
@EqualsAndHashCode
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER, fillBackgroundColor = 44, fillForegroundColor = 44)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@HeadRowHeight(40)
@HeadFontStyle(fontName = "微软雅黑", fontHeightInPoints = 10)
@ContentFontStyle(fontName = "微软雅黑", fontHeightInPoints = 9)
public class LocalLifeDonLoadDTO {

    @ColumnWidth(value = 20)
    @ExcelProperty(value="连锁店铺名称")
    private String chainStoreName;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="类别")
    private String category;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="店铺数量")
    private String storeNumber;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="美团/大众点评/小程序店铺链接")
    private String links;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="美团/大众点评店铺平均评分")
    private String averageScore;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="有效期")
    private String validityPeriod;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="可使用分布城市")
    private String distributedCities;

    @ColumnWidth(value = 15)
    @ExcelProperty(value="产品名称")
    private String productName;

    @ColumnWidth(value = 15)
    @ExcelProperty(value="套餐详细内容")
    private String packageDetails;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="单价")
    private BigDecimal price;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="数量")
    private Integer num;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="合计货值")
    private String totalGoodPrice;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="使用权益")
    private String useRights;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="卡券形式（电子/实体）")
    private String couponForm;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="使用限制")
    private String usageRestrictions;

    @ColumnWidth(value = 20)
    @ExcelProperty(value = "客户对我司售卖要求")
    private String sellRequirements;

    @ColumnWidth(value = 40)
    @ExcelProperty(value="产品/套餐链接（美团、大众点评等）")
    private String storeLinks;

    @ColumnWidth(value = 20)
    @ExcelProperty(value="产品/套餐图片")
    private String storePics;

    @ColumnWidth(value = 20)
    @ExcelProperty(value="产品/套餐销量（美团、大众点评）")
    private String storeSaleNumbers;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="核销流程")
    private String verificationProcess;

    @ColumnWidth(value = 10)
    @ExcelProperty(value="实际成交价")
    private BigDecimal finalPrice;
}
